package com.yupi.usercenter.stream;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;
import org.springframework.stereotype.Component;

/**
 *
 *  接收消息的消费者，名称配置
 */
@Component
public interface InputInterface {

    /**
     * 问题件工单
     */
    String CSS_PROBLEM_WORK_ORDER_INPUT = "css-problem-work-order-input";

    @Input(CSS_PROBLEM_WORK_ORDER_INPUT)
    SubscribableChannel problemWorkOrderInput();

}
